IdeaBlade DevForce 2010 Help Reference
EntityKey Constructor(Type,Object[])
See Also  Send Feedback
IdeaBlade.EntityModel Assembly > IdeaBlade.EntityModel Namespace > EntityKey Class > EntityKey Constructor : EntityKey Constructor(Type,Object[])



entityType
The Entity type
values
The values of the primary key properties
Initializes a new instance of the EntityKey class.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal entityType As Type, _
   ByVal ParamArray values() As Object _
)
Visual Basic (Usage)Copy Code
Dim entityType As Type
Dim values() As Object
 
Dim instance As New EntityKey(entityType, values)
C# 
public EntityKey( 
   Type entityType,
   params object[] values
)
C++/CLI 
public:
EntityKey( 
   Type^ entityType,
   ... array<Object^>^ values
)

Parameters

entityType
The Entity type
values
The values of the primary key properties

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.